<!doctype html>
<html lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />
	<title>{{$data.title}}</title>
	<meta name="keywords" content="{{$data.title}}" />
	<meta name="description" content="{{$data.title}}" />
	<meta name="LinkArtifact" content="7000c2fd0c1eff6fc7c2d4b66ac23916">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<!-- QQ互联 -->
	<meta property="qc:admins" content="3566762547627031606375" />
	<link rel="icon" href="favicon.ico" type="image/x-icon"/>
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>

	<style type="text/css">
		body {
			_behavior: url({{$smarty.const.APP_URL}}resource/htc/csshover.htc);
		}
	</style>

	<link href="{{$smarty.const.APP_URL}}templates/default/css/base.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/home_header.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/home_login.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/index-new.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}data/resource/font/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="{{$smarty.const.APP_URL}}templates/default/css/user_center/purchase_release.css" rel="stylesheet" type="text/css">
    <link href="{{$smarty.const.APP_URL}}templates/default/css/user_center/purchase_list_edit.css" rel="stylesheet" type="text/css">
	<!--[if IE 7]>
	<link rel="stylesheet" href="{{$smarty.const.APP_URL}}data/resource/font/font-awesome/css/font-awesome-ie7.min.css">
	<![endif]-->
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/html5shiv.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/respond.min.js"></script>
	<![endif]-->
	<!--[if IE 6]>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/IE6_PNG.js"></script>
	<script>
		DD_belatedPNG.fix('.pngFix');
	</script>
	<script>
		// <![CDATA[
if((window.navigator.appName.toUpperCase().indexOf("MICROSOFT")>=0)&&(document.execCommand))
try{
document.execCommand("BackgroundImageCache", false, true);
   }
catch(e){}
// ]]>
</script>
<![endif]-->
	<script>
		var COOKIE_PRE = 'BC18_';var _CHARSET = 'utf-8';var SITEURL = 'http://zhaojinyin.cc';var RESOURCE_URL = 'http://zhaojinyin.cc/data/resource';var TEMPLATES_URL = 'http://zhaojinyin.cc/templates/default';
	</script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/common.js" charset="utf-8"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/ui/$.ui.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.validation.min.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.masonry.js"></script>
    <!--<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>-->
	<script src="{{$smarty.const.APP_URL}}data/resource/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
	<script type="text/javascript">
	<!-- 左侧下拉列表箭头变化jq -->
	$(document).ready(function(){
  		$(".wrap-menu-li1").click(function(){
    		//$(this).css("background-position","180px top");
			if($(this).css("background-position")=='180px 100%'){
					$(this).css("background-position","180px top");
				}
			else {
					$(this).css("background-position","180px bottom");
				};
 	 	});
	});
	<!-- 右侧内容隐藏下拉列表jq -->
	$(document).ready(function(){
  		$(".biaoti_1").click(function(){
  		$(".xuanze_2_hide").toggle(1000);
  		});
	});
</script>
</head>
<body style="min-width: 1200px;">
<!--会员中心头部start-->
{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_header.html"}}
<!--会员中心头部end-->
<!-- 本页头部start -->
{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_top.html"}}
<!--本页头部end-->
<!-- 中间内容 -->
<section>
	<div id="main">
        <!-- 左边start -->
		{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_lefter.html"}}
		<!--左边end-->
        <!-- 右边 -->
    	<div class="main_right">
    		<div class="main_title">
        		<p>编辑清单</p>
        	</div>
            <div class="main_input">
				<form method="post" action="/user_center/supply_edit_post" enctype="multipart/form-data">
					<input type="hidden" name="supply_id" value="{{$supply_info.supply_id}}"/>
                <div class="qxx">
					<p>标题：</p>
					<input name="supply_title" style="width: 455px; height: 30px;" type="text" value="{{$supply_info.supply_title}}">
				</div>
                <div class="exx">
					<p>类型：</p>
					<select ><option>现货/标准货</option><!--<option>加工/订制品</option>--></select>
				</div>
                <div class="rxx">
					<p>品名：</p>
					<select name="pc_id" style="border: 1px solid #ccc;color: #999;height: 36px;width: 126px;">
						{{foreach from=$cat_list item=i}}
						<option value="{{$i.pc_id}}" {{if $i.pc_id==$supply_info.pc_id}}selected{{/if}}>{{$i.pc_name}}</option>
						{{/foreach}}
					</select>
				</div>
                <div class="rxx">
					<p>地区：</p>
					<select name="area_id" style="border: 1px solid #ccc;color: #999;height: 36px;width: 126px;">
						{{foreach from=$area_list item=i}}
						<option value="{{$i.area_id}}" {{if $i.area_id==$supply_info.area_id}}selected{{/if}}>{{$i.area_name}}</option>
						{{/foreach}}
					</select>
				</div>
                <div class="rxx">
					<p>品牌：</p>
					<select name="brand_id" style="border: 1px solid #ccc;color: #999;height: 36px;width: 126px;">
						{{foreach from=$brand_list item=i}}
						<option value="{{$i.brand_id}}" {{if $i.brand_id==$supply_info.brand_id}}selected{{/if}}>{{$i.brand_name}}</option>
						{{/foreach}}
					</select>
				</div>
					<div class="rxx">
						<p>价格：</p>
						<input name="supply_price" type="text" class="txt_2" value="{{$supply_info.supply_price}}"/>
					</div>
					<div class="rxx">
						<p>单位：</p>
						<select name="unit_id" style="border: 1px solid #ccc;color: #999;height: 36px;width: 126px;">
							{{foreach from=$unit_list item=i}}
							<option value="{{$i.unit_id}}" {{if $i.unit_id==$supply_info.unit_id}}selected{{/if}}>{{$i.unit_name}}</option>
							{{/foreach}}
						</select>
					</div>
                <div class="rxx">
					<p>起订量：</p>
					<input name="supply_mininum" type="text" class="txt_2" value="{{$supply_info.supply_minnum}}"/>
				</div>
                <div class="txx">
					<p>产品描述：</p>
					<textarea name="supply_desc" class="txt_3">{{$supply_info.supply_desc}}</textarea>
				</div>
                <div class="yxx">
					<p>产品图片：</p>
                	<div class="small_box">
                    	<div style="border: 1px solid #ccc;height: 80px;margin-left: 20px;margin-top: 14px;width: 80px;"><img src="{{$supply_info.supply_image}}" width="80" height="80"></div>
                        <div class="small_box_cen">支持jpg、gif、png格式上传，建议使用尺寸800*800像素</br>以上、大小不超过2M。</div>
                        <div style="padding-left: 20px;padding-top: 8px;text-align: left;"><input type="file" name="supply_image" style="width:125px;"></div>
                    </div>
                </div>
					<div class="yxx">
						<p>上传凭证：</p>
						<div class="small_box">
							<div style="border: 1px solid #ccc;height: 80px;margin-left: 20px;margin-top: 14px;width: 80px;"><img src="{{$supply_info.supply_voucher}}" width="80" height="80"></div>
							<div class="small_box_cen">支持jpg、gif、png格式上传，建议使用尺寸800*800像素</br>以上、大小不超过2M。</div>
							<div style="padding-left: 20px;padding-top: 8px;text-align: left;"><input type="file" name="supply_voucher" style="width:125px;"></div>
						</div>
					</div>
                <div style="padding-bottom: 100px;padding-left: 153px;padding-top: 32px;text-align: center;">
					<!--<a href="#">提交</a>-->
					<input type="submit" value="提交" style="background: #ff6e02 none repeat scroll 0 0;border: 1px solid #c22501;color: #fff;display: block;font-size: 14px;font-weight: bold;height: 32px;text-decoration: none;width: 110px;">
				</div>
				</form>
            </div>
        </div>
    </div>
    <div style="clear:both;"></div>
	<!--底部start-->
	{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_footer.html"}}
	<!--底部end-->
</section>
<!-- 左侧下拉菜单js样式 -->
<script>
	// var wrap-menu-center=document.getElementsByClassName('wrap-menu-li1');
	//var menu_ul=wrap-menu-center.getElementsByTagName('ul');
	function changebn(obj){
			if(obj.nextElementSibling.style.display=='none'||obj.nextElementSibling.style.display==''){
				obj.nextElementSibling.style.display='block';
			}else{
				obj.nextElementSibling.style.display='none';
			}
		}
</script>
</body>
</html>